//
//  GGUIFactory.h
//  MuYouDaoLi
//
//  Created by 高立发 on 2016/11/23.
//  Copyright © 2016年 Yc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface GGUIFactory : NSObject

//UIButton
+(UIButton *)buttonWithFrame:(CGRect)rect title:(NSString *)title imageName:(NSString *)imageName titleColor:(UIColor *)color target:(id)target action:(SEL)selector;

//UILable
+(UILabel *)lableWithFrame:(CGRect)rect backGroundColor:(UIColor *)color1 text:(NSString *)text textColor:(UIColor *)color2 font:(UIFont *)floatFont;

//UITextField
+(UITextField *)textFieldWithFrame:(CGRect)rect placeholder:(NSString *)placeholder secureTextEntry:(BOOL)bool1 textColor:(UIColor *)color1 backGroundColor:(UIColor *)color2 font:(UIFont *)font;

//UITextView
+(UITextView *)textViewWihFrame:(CGRect)rect backGroundColor:(UIColor *)color1 textColor:(UIColor *)color2 font:(UIFont *)font scrollEnabled:(BOOL)bool1 showsVerticalScrollIndicator:(BOOL)bool2;

@end
